﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'PRC_TB_PROFILERS_FUNCTIONALITIES_DE')
	BEGIN
		DROP  Procedure  dbo.PRC_TB_PROFILERS_FUNCTIONALITIES_DE
	END

GO

CREATE Procedure dbo.PRC_TB_PROFILERS_FUNCTIONALITIES_DE
	(
		@tp_id int
	)

AS

delete from TB_PROFILERS_FUNCTIONALITIES
where tpf_profiler_id = @tp_id

GO

GRANT EXEC ON dbo.PRC_TB_PROFILERS_FUNCTIONALITIES_DE TO PUBLIC

GO

